package util;

import java.io.Serializable;

@SuppressWarnings("serial")
public class userObject implements Serializable{
	
	private String type;
	private String username = null;
	private String password = null;
	private String firstName = null;
	private String lastName = null;
	private String phoneNo = null;
	
	
	public userObject(String type, String username, String password){
		this.type = type;
		this.username = username;
		this.password = password;
	}
	
	public userObject(String type, String username, String password, String firstName, String lastName, String phoneNo){
		this.type = type;
		this.username = username;
		this.password = password;
		this.firstName = firstName;
		this.lastName = lastName;
		this.phoneNo = phoneNo;
	}
	
	
	public String getUsername(){
		return this.username;
	}
	
	public String getPassword(){
		return this.password;
	}
	
	public String getFirst(){
		return this.firstName;
	}

	public String getLast() {
		return this.lastName;
	}

	public String getPhone() {
		return this.phoneNo;
	}

	public String getType() {
		return this.type;
	}

}
